import request from '@/utils/request'
import {parseStrEmpty} from "@/utils/lanling";

// 查询详细
export function getDetail() {
  return request({
    url: '/system/app/config/detail',
    method: 'get'
  })
}

// 新增
export function addConfig(data) {
  return request({
    url: '/system/app/config',
    method: 'post',
    data: data
  })
}

// 修改
export function updateConfig(data) {
  return request({
    url: '/system/app/config',
    method: 'put',
    data: data
  })
}




